package ExamLab.Test3;

public class EnuClass{
    enum MEnum{A,B,C};
    public static void main(String args[]){
         MEnum me=MEnum.A;
         int A=99;
         int B=98;
         int C=97;
         switch(me){
              default: System.out.print("Default ");
              case A: System.out.print("Only A ");
              case B: System.out.print("Only B ");
              case C: System.out.println("Only C ");
         }
         int a = 10;
         switch(a){
         default: System.out.print("Default ");
         case 1: System.out.print("Only A ");
         case 2: System.out.print("Only B ");
         case 3: System.out.println("Only C ");
    }
    }
}